#ifndef ISINMAT_H_INCLUDED
#define ISINMAT_H_INCLUDED
#include "Matrix.h"
bool isInMat(Matrix m, double k,double x0)
{
    int i,j;
    for(i=1;i<=m.getRow();++i)
    {
        for(j=1;j<=m.getCol();++j)
        {
            if(k==m(i,j)||k==x0)
            return true;
        }
    }
    return false;
}


#endif // ISINMAT_H_INCLUDED
